package com.yuntai.pms.model.vo;

import java.io.Serializable;

/**
 * @ClassName: UserDetailVo
 * @Description: 数据库查询出的用户详情
 * @author 王勇琳
 * @date 2017年7月5日 下午4:57:12
 */
public class UserDetailVo implements Serializable {
	private static final long serialVersionUID = 2378689723413841966L;

	/** 对应数据库的主键 */
	private Long userId;
	
	/** 登录用户名 */
	private String username;

	/** 登录密码 */
	private String password;
	
	/** 密码盐值 */
	private String salt;
	
	/** 是否启用,1启用 0停用 */
	private boolean enabled;
	
	/** 用户头像 */
	private String headPhoto;
	
	/** 昵称 */
	private String nickName;
	
	public UserDetailVo(){
		
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public String getHeadPhoto() {
		return headPhoto;
	}

	public void setHeadPhoto(String headPhoto) {
		this.headPhoto = headPhoto;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
}
